package page;

/**
 * Created by as on 2016/11/16.
 */
public class Book3 {
    private static int num = 0;
    private String name;

    public Book3(){
        num ++;
    }
    public Book3(String name)
    {
        this();
        this.name = name;
    }

    static public int  getNum()
    {
        return num;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
}
